package com.yunzhou.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserLoginDTO {
    @NotEmpty(message = "邮箱不能为空")
    @Email(message = "邮箱格式错误")
    private String email; // 用户邮箱

    @NotEmpty(message = "用户密码不能为空")
    private String password; // 用户密码

    @NotEmpty(message = "图片验证码不能为空")
    private String imageCheckCode; // 图片验证码
}
